export type routeType={
    [key:string]:string | (()=>void) |Array<routeType> | undefined |metaType
    path:string,
    paths:string,
    name:string,
    redirect?:string,
    meta:metaType,
    component:string | (()=>void)
  }
export  interface RouteData extends routeType{

    children?:Array<RouteData>
}

export type stateType={
    [key:string]:string
}
type metaType={
    resName:string,
    resIconKind: string,
    resType:string
}
export enum Keys{
    PATH='path',
    NAME='name',
    CHILDREN='children',
    REDIRECT='redirect',
    META='meta'

}
